import 'package:flutter/material.dart';

class SecondPage extends StatelessWidget{
  @override
  Widget build(BuildContext context) {
   return new MaterialApp(
     home: Scaffold(
       appBar: new AppBar(
         title: Text('第二页a'),
       ),
       // body: new Icon(Icons.phone,color: Colors.red,size: 90,),
       body:Center(
         child: RaisedButton(
           onPressed:(){
             Navigator.pushNamed(context, '/first');
           } ,
           child:  Text(
               '第二页',
               style: TextStyle(fontSize: 33),
             ),
           ),
       ),
     ),
   );
  }

}
